from django.urls import re_path
from . import views

urlpatterns = [
    re_path(r'^api/v1.0/user$',views.UserCenterView.as_view()),
    re_path(r'^api/v1.0/user/name$', views.UpdateUesrNameView.as_view()),
    re_path(r'^api/v1.0/user/avatar$',views.HeadImageView.as_view()),
    re_path(r'^api/v1.0/houses/(?P<house_id>\d+)/images$',views.HomeImageView.as_view()),
    # re_path(r'^api/v1.0/houses$',views.HousesSeekView.as_view())
]